package org.ch00.test07.demo02;

/**
 * 防盗门 - is-a
 *
 * @author ZQX
 * @date 2025-03-05
 */
public class FangDaoDoor extends Door implements IFangDao{

    @Override
    public void open() {
        System.out.println("防盗门开 - 此处省略100万行代码");
    }

    @Override
    public void close() {
        System.out.println("防盗门关 - 此处省略100万行代码");
    }

    @Override
    public void xiangLing() {
        System.out.println("铃~铃~铃~铃~铃~");
    }
}
